package com.navinfo.opentsp.platform.computing.dto;

public class PictureKafkaConstruct {

        /**
         * 云文件服务器存储图片地址
         */
        private String fileUrl;

        /**
         * 终端通讯号
         */
        private String terminalId;

        /**
         * 报警标识符
         */
        private String alarmId;

        /**
         * 报警产生时间 格式YYMMDDHHMMSS
         */
        private String alarmTime;

        /**
         * 是否需要做人脸比对
         */
        private boolean needFaceComparison;

        /**
         * 文件类型 文件类型 00——图片；01——音频；02——视频；03——文本；04——其它
         */
        private int fileType;

        /**
         * 经度 以度为单位的纬度值乘以 10 的 6 次方，精确到百万分之一度
         */
        private String longitude;

        /**
         * 纬度 以度为单位的纬度值乘以 10 的 6 次方，精确到百万分之一度
         */
        private String latitude;

        /**
         * 速度 GPS车速 单位km/h
         */
        private double speed;

        /**
         * 通道ID
         */
        private int channelId;

        /**
         * 告警/事件类型
         */
        private int alarmType;

        /**
         * 过期时间
         */
        private String expireTime;

        public PictureKafkaConstruct(){
            super();
        }

        public PictureKafkaConstruct(String fileUrl, String terminalId, String alarmId, String alarmTime, boolean needFaceComparison, int fileType, String longitude, String latitude, double speed, int channelId, int alarmType, String expireTime) {
            this.fileUrl = fileUrl;
            this.terminalId = terminalId;
            this.alarmId = alarmId;
            this.alarmTime = alarmTime;
            this.needFaceComparison = needFaceComparison;
            this.fileType = fileType;
            this.longitude = longitude;
            this.latitude = latitude;
            this.speed = speed;
            this.channelId = channelId;
            this.alarmType = alarmType;
            this.expireTime = expireTime;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }

        public void setTerminalId(String terminalId) {
            this.terminalId = terminalId;
        }

        public void setAlarmId(String alarmId) {
            this.alarmId = alarmId;
        }

        public void setAlarmTime(String alarmTime) {
            this.alarmTime = alarmTime;
        }

        public void setNeedFaceComparison(boolean needFaceComparison) {
            this.needFaceComparison = needFaceComparison;
        }

        public void setFileType(int fileType) {
            this.fileType = fileType;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public void setSpeed(double speed) {
            this.speed = speed;
        }

        public void setChannelId(int channelId) {
            this.channelId = channelId;
        }

        public void setAlarmType(int alarmType) {
            this.alarmType = alarmType;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public String getTerminalId() {
            return terminalId;
        }

        public String getAlarmId() {
            return alarmId;
        }

        public String getAlarmTime() {
            return alarmTime;
        }

        public boolean isNeedFaceComparison() {
            return needFaceComparison;
        }

        public int getFileType() {
            return fileType;
        }

        public String getLongitude() {
            return longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public double getSpeed() {
            return speed;
        }

        public int getChannelId() {
            return channelId;
        }

        public int getAlarmType() {
            return alarmType;
        }

        public String getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(String expireTime) {
            this.expireTime = expireTime;
        }
    }